]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Start with a fresh build dir to ensure test dependencies are correct
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 11 Sep 2025 11:33:42 +0000 (13:33 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Sep 2025 16:18:25 +0000 (16:18 +0000)
We want to ensure that meson test just works, without having to redo the
whole dependencies setup phase, so let's just start a new fresh build dir
and run tests there

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>

.gitlab-ci.yml

index 0b9373d24576d37f5db1ad303209dc9db6d08355..249c65e17d2501239fc222998bf7cdadfaf4dd1b 100644 (file)
@@ -218,7 +218,9 @@ test:
     - mkdir -m 700 $XDG_RUNTIME_DIR
     - mkdir -m 1777 /tmp/.X11-unix
   script:
-    - dbus-run-session -- meson test -C build --no-rebuild --timeout-multiplier 5
+    # Start with a fresh build dir to ensure test dependencies are correct
+    - meson setup build-test -Dman=false -Dgtk_doc=false
+    - dbus-run-session -- meson test -C build-test --timeout-multiplier 5
   artifacts:
     expire_in: 1 day
     paths: